Skip to content

Commit

Permalink
Merge pull request #9 from mmoll/concat
Browse files Browse the repository at this point in the history
allow newer puppetlabs-concat
  • Loading branch information
raphink committed Jun 27, 2017
2 parents 28afa10 + a1206bf commit 1f20156
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions manifests/cowbuilder.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
owner => root,
group => root,
mode => '0644',
force => true,
require => Package['pbuilder'],
}

Expand All @@ -35,7 +34,6 @@
ensure => directory,
recurse => true,
purge => true,
force => true,
require => File["${confdir}/${name}/apt"];

"${confdir}/${name}/pbuilderrc":
Expand Down
6 changes: 2 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,15 @@
[ $aptconfdir, $builddir, $resultdir, $aptcachedir ]:
ensure => absent,
require => Exec["clean_pbuilder_${name}"],
recurse => true,
force => true;
recurse => true;
# recursively remove containing directories
[ $pbuilder_confdir, $pbuilder_cachedir ]:
ensure => absent,
require => [ Exec["clean_pbuilder_${name}"],
File[$script], File[$pbuilderrc],
File[$aptconfdir],
File[$builddir], File[$resultdir], File[$aptcachedir]
],
force => true;
];
}
}

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": [
{
"name": "puppetlabs/concat",
"version_requirement": ">=1.1.0 <1.2.0"
"version_requirement": ">=1.1.0 <5.0.0"
},
{
"name": "puppetlabs/stdlib",
Expand Down

0 comments on commit 1f20156

Please sign in to comment.