aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-08-24 17:34:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-08-24 17:34:51 -0300
commitf92d0e8d42835473b46615c903d1a56652d45420 (patch)
tree3fc4f2e07c6f938a32b2f75b17c25949060ded83 /manifests/subsystem
parent26727a6ad879ba4df22ad8e9cbe94ca0b329599a (diff)
downloadpuppet-nodo-f92d0e8d42835473b46615c903d1a56652d45420.tar.gz
puppet-nodo-f92d0e8d42835473b46615c903d1a56652d45420.tar.bz2
MAC Changer support
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/macchanger.pp5
-rw-r--r--manifests/subsystem/macchanger/wicd.pp9
2 files changed, 14 insertions, 0 deletions
diff --git a/manifests/subsystem/macchanger.pp b/manifests/subsystem/macchanger.pp
new file mode 100644
index 0000000..f5e5438
--- /dev/null
+++ b/manifests/subsystem/macchanger.pp
@@ -0,0 +1,5 @@
+class nodo::subsystem::macchanger {
+ package { 'macchanger':
+ ensure => present,
+ }
+}
diff --git a/manifests/subsystem/macchanger/wicd.pp b/manifests/subsystem/macchanger/wicd.pp
new file mode 100644
index 0000000..18ee263
--- /dev/null
+++ b/manifests/subsystem/macchanger/wicd.pp
@@ -0,0 +1,9 @@
+class nodo::subsystem::macchanger::wicd inherits nodo::subsystem::macchanger {
+ file { '/etc/wicd/scripts/preconnect/macchanger':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0755,
+ source => 'puppet:///modules/nodo/etc/wicd/macchanger',
+ }
+}