aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-31 22:31:15 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-31 22:31:15 -0200
commit0ff29932990868b19d8002ff261387a0ee36603f (patch)
tree68c28e60f2ea4a1963844d35a15a8fe56892bcab /manifests/subsystems
parent1bb341f1cc5dfb56c570b8ee008f64a50362af8b (diff)
downloadpuppet-nodo-0ff29932990868b19d8002ff261387a0ee36603f.tar.gz
puppet-nodo-0ff29932990868b19d8002ff261387a0ee36603f.tar.bz2
Adding gdm3 class and misc fixes
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/firewall/local.pp9
-rw-r--r--manifests/subsystems/gdm3.pp20
-rw-r--r--manifests/subsystems/utils/laptop.pp2
3 files changed, 26 insertions, 5 deletions
diff --git a/manifests/subsystems/firewall/local.pp b/manifests/subsystems/firewall/local.pp
index ee82563..7e23e29 100644
--- a/manifests/subsystems/firewall/local.pp
+++ b/manifests/subsystems/firewall/local.pp
@@ -5,6 +5,11 @@ class firewall::local(
$manage_interface = hiera('nodo::firewall::local::manage_iface', false)
) {
+ shorewall::zone { 'loc':
+ type => 'ipv4',
+ order => 4,
+ }
+
if $manage_host {
shorewall::host { "$interface-loc":
name => "$interface:$network",
@@ -44,8 +49,4 @@ class firewall::local(
order => 7,
}
- shorewall::zone { 'loc':
- type => 'ipv4',
- order => 4,
- }
}
diff --git a/manifests/subsystems/gdm3.pp b/manifests/subsystems/gdm3.pp
new file mode 100644
index 0000000..0dfda11
--- /dev/null
+++ b/manifests/subsystems/gdm3.pp
@@ -0,0 +1,20 @@
+class gdm3 {
+ package { 'gdm3':
+ ensure => installed,
+ }
+
+ service { 'gdm3':
+ ensure => running,
+ require => Package['gdm3'],
+ }
+
+ file { '/etc/gdm3/greeter.gsettings':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ notify => Service['gdm3'],
+ source => [ "puppet:///modules/site_nodo/etc/gdm3/${::domain}/greeter.gseetings",
+ "puppet:///modules/nodo/etc/gdm3/greeter.gsettings", ]
+ }
+}
diff --git a/manifests/subsystems/utils/laptop.pp b/manifests/subsystems/utils/laptop.pp
index 1b4f783..bab727f 100644
--- a/manifests/subsystems/utils/laptop.pp
+++ b/manifests/subsystems/utils/laptop.pp
@@ -22,7 +22,7 @@ class utils::laptop::debian {
}
# Wicd
- package { 'wicd', 'wicd-curses':
+ package { [ 'wicd', 'wicd-curses' ]:
ensure => installed,
}