This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "Fish are friends, not food." -Bruce the Shark | |
include_recipe "yum-epel" | |
package "perl-Curses" | |
remote_file "#{Chef::Config[:file_cache_path]}/Term-Animation-2.4.tar.gz" do | |
action :create | |
source 'http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute "sed -i '/requiretty/d' /etc/sudoers" do | |
action :run | |
end | |
package 'httpd' do | |
action :install | |
end | |
file '/var/www/html/index.html' do | |
action :create |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package 'fortune' do | |
action :install | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@module | |
exports.pins = { | |
blinkm: {type: "I2C", address: 0x09, voltage: 5.0} | |
} | |
exports.configure = function() { | |
this.blinkm.init(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@module | |
exports.pins = { | |
blinkm: {type: "I2C", address: 0x09} | |
} | |
exports.configure = function() { | |
this.blinkm.init(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.pins = { | |
blinkm: {type: "I2C", address: 0x00, sda: 53, clock: 54} | |
}; | |
exports.configure = function() { | |
this.blinkm.init(); | |
} | |
exports.close = function() { | |
this.blinkm.init(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.pins = { | |
blinkm: { type: "I2C", address: 0x09, sda: 53, clock: 54 } | |
}; | |
exports.configure = function () { | |
this.blinkm.init(); | |
} | |
exports.close = function () { | |
this.blinkm.close(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "region" { } | |
provider "aws" { | |
region = "${var.region}" | |
} | |
resource "aws_instance" "example" { | |
ami = "ami-d05e75b8" | |
instance_type = "t2.micro" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recipe: delivery-cluster::_settings | |
* link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data] action create | |
================================================================================ | |
Error executing action `create` on resource 'link[C:/Users/Administrator/delivery-cluster/.chef/../.chef/delivery-cluster-data]' | |
================================================================================ | |
Chef::Exceptions::Win32APIError | |
------------------------------- | |
The filename, directory name, or volume label syntax is incorrect. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default['web']['width'] = '1280' | |
default['web']['height'] = '768' | |
default['web']['base'] = 'http://external.kongregate-games.com/gamez/0021/4044/live/' | |
default['web']['src'] = 'http://external.kongregate-games.com/gamez/0021/4044/live/embeddable_214044.swf' |