mciurcio / simple_hue

A puppet module that controls the philips hue. It is designed for teaching purposes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FACTER_url=http://192.168.0.14/api/AVsa-nKtZOlssVKhBwM9MBVTVVUo11nSsGQPIm55 puppet resource hue_light

/etc/puppet/manifests/site.pp
node 'hampton' {
hue_light { '1':
  on        => 'false',
}
}

/etc/puppet/device.conf
[hampton]
  type hue
  url http://192.168.0.14/api/AVsa-nKtZOlssVKhBwM9MBVTVVUo11nSsGQPIm55

/etc/hosts
192.168.0.14 hampton

puppet plugin download --server huemaster
puppet device -v --waitforcert 0 --user root --server huemaster
puppet cert sign hampton
puppet device -v --user root --server huemaster

About

A puppet module that controls the philips hue. It is designed for teaching purposes.

License:Apache License 2.0


Languages

Language:Ruby 99.4%Language:Puppet 0.6%