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
//@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
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
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
# "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
pkg_origin=firstnamelastname | |
pkg_name=mytutorialapp | |
pkg_version=0.2.0 | |
pkg_maintainer="First Last <[email protected]>" | |
pkg_license=() | |
pkg_source=nosuchfile.tar.gz | |
pkg_upstream_url=https://github.com/scarolan/habitat-example-plans | |
pkg_deps=(core/node) | |
pkg_expose=(8080) |
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
--- | |
driver: | |
name: ec2 | |
aws_ssh_key_id: gramsay_bot | |
region: us-east-1 | |
security_group_ids: sg-e5bafc83 | |
subnet_id: subnet-977469ce | |
availability_zone: us-east-1a | |
associate_public_ip: true | |
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
--- | |
driver: | |
name: ec2 | |
aws_ssh_key_id: gramsay_bot | |
region: us-east-1 | |
security_group_ids: sg-e5bafc83 | |
subnet_id: subnet-977469ce | |
availability_zone: us-east-1a | |
associate_public_ip: true | |
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
{ | |
"version": "2", | |
"build_cookbook": { | |
"name": "build_cookbook", | |
"path": ".delivery/build_cookbook" | |
}, | |
"skip_phases": [ | |
"unit","lint","syntax","quality","security","publish","provision","deploy","smoke","functional" | |
], | |
"dependencies": [] |
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
--- | |
driver: | |
name: ec2 | |
require_chef_omnibus: true | |
region: us-west-2 | |
security_group_ids: <REPLACE> | |
subnet_id: <REPLACE> | |
associate_public_ip: true | |
instance_type: c3.large | |
aws_ssh_key_id: chef_demo |