diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-18 17:44:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-18 17:44:30 -0400 |
commit | 1cdecce2a863cc95e7e977130209f0ee27c2ba2c (patch) | |
tree | aea1938b8a1546dce15fa0d4bee02378785ff020 | |
parent | 96acf9b1a12a36ea43c557afd00bdbee0ea36fe1 (diff) | |
download | puppet-tozt-1cdecce2a863cc95e7e977130209f0ee27c2ba2c.tar.gz puppet-tozt-1cdecce2a863cc95e7e977130209f0ee27c2ba2c.zip |
try specifying the dependency here in a different way
-rw-r--r-- | modules/package/manifests/makepkg.pp | 1 | ||||
-rw-r--r-- | modules/tozt/manifests/init.pp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/package/manifests/makepkg.pp b/modules/package/manifests/makepkg.pp index f9236c3..c9d0318 100644 --- a/modules/package/manifests/makepkg.pp +++ b/modules/package/manifests/makepkg.pp @@ -24,7 +24,6 @@ define package::makepkg($ensure, $build_user, $asdeps=false) { unless => "pacman -Q $name > /dev/null 2>&1", path => "/usr/bin", require => [ - Tozt::User[$build_user], Class["git"], Class["c_toolchain"], ]; diff --git a/modules/tozt/manifests/init.pp b/modules/tozt/manifests/init.pp index 81eb7ef..baa0d2d 100644 --- a/modules/tozt/manifests/init.pp +++ b/modules/tozt/manifests/init.pp @@ -5,6 +5,8 @@ class tozt { build_user => 'doy', } + Tozt::User['doy'] -> Package::Makepkg<| build_user == 'doy' |> + include tozt::bootstrap include tozt::backups include tozt::pass |