Commit 3e254c26 authored by groente's avatar groente
Browse files

remove common module

parent aa4ed4f4
Pipeline #5148 passed with stage
in 4 minutes and 5 seconds
class tails {
include common::moduledir
common::module_dir { 'tails': }
file{ '/var/lib/puppet/modules':
ensure => directory,
recurse => true,
purge => true,
force => true,
owner => root,
group => 0,
mode => '0755',
}
file{ '/var/lib/puppet/modules/tails':
ensure => directory,
recurse => true,
purge => true,
force => true,
owner => root,
group => 0,
mode => '0755',
require => File['/var/lib/puppet/modules'],
}
}
......@@ -16,13 +16,14 @@ class tails::reprepro::custom::nginx (
ensure_packages([acl])
$acls = "${common::moduledir::module_dir_path}/tails/reprepro-custom-webdirs.acl"
$acls = '/var/lib/puppet/modules/tails/reprepro-custom-webdirs.acl'
file { $acls:
content => "group::r-X\ndefault:group::r-X\nother::r-X\ndefault:other::r-X\n",
owner => root,
group => root,
mode => '0600',
require => File[ '/var/lib/puppet/modules/tails' ],
}
exec { 'set-acl-on-tails-reprepro-custom-web-dirs':
......
......@@ -70,12 +70,13 @@ class tails::rsync (
require => Package[rsync],
}
$acls = "${common::moduledir::module_dir_path}/tails/rsync-dir.acl"
$acls = '/var/lib/puppet/modules/tails/rsync-dir.acl'
file { $acls:
content => "group::rwX\ndefault:group::rwX\nother::r-X\ndefault:other::r-X\n",
mode => '0600',
owner => root,
group => root,
require => File['/var/lib/puppet/modules/tails'],
}
exec {
'set-acl-on-rsync-data-dir':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment