Add basic path

This commit is contained in:
Jake Howard 2017-08-12 14:43:35 +01:00
parent d377e310df
commit 2269db0686
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
node default { node default {
include yaourt Exec {
path => ['/usr/bin', '/usr/sbin', '/usr/local/bin', '/usr/local/sbin']
}
include yaourt
include gnome
} }

View file

@ -10,6 +10,6 @@ class gnome {
exec { 'show battery percentage': exec { 'show battery percentage':
user => "jake", user => "jake",
command => '/usr/bin/gsettings set org.gnome.desktop.interface show-battery-percentage true' command => 'gsettings set org.gnome.desktop.interface show-battery-percentage true'
} }
} }

View file

@ -1,15 +1,15 @@
class yaourt::keys () { class yaourt::keys () {
exec { '/usr/bin/gpg --recv-keys F7E48EDB': exec { 'gpg --recv-keys F7E48EDB':
user => 'jake' user => 'jake'
} }
exec { '/usr/bin/pacman-key -r 962DDE58': exec { 'pacman-key -r 962DDE58':
} }
exec { '/usr/bin/pacman-key --lsign-key 962DDE58': exec { 'pacman-key --lsign-key 962DDE58':
} }
exec { '/usr/bin/gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0': exec { 'gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0':
user => 'jake' user => 'jake'
} }
} }