diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-28 08:06:46 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-28 08:06:46 +0000 |
commit | 652982257d7d4b1fdfada25880d70b29702a4c69 (patch) | |
tree | 9c538a33e20f7ca131ece23fde1f1c7824f1a5f3 /lib/puppet/provider/package/openbsd.rb | |
parent | 038d6a6e79da9db5a12ca3e78c4539178cc49b44 (diff) | |
download | puppet-652982257d7d4b1fdfada25880d70b29702a4c69.tar.gz puppet-652982257d7d4b1fdfada25880d70b29702a4c69.tar.xz puppet-652982257d7d4b1fdfada25880d70b29702a4c69.zip |
I have not yet finished testing, but most of the providers now successfully pass arrays to execute() instead of strings, which means that the vast majority of execution problems are now gone. I will finish testing tomorrow, hopefully, and will also hopefully be able to verify that the execution-related bugs are fixed.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1979 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/provider/package/openbsd.rb')
-rwxr-xr-x | lib/puppet/provider/package/openbsd.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/provider/package/openbsd.rb b/lib/puppet/provider/package/openbsd.rb index b0d5a2277..2d1b6d07d 100755 --- a/lib/puppet/provider/package/openbsd.rb +++ b/lib/puppet/provider/package/openbsd.rb @@ -5,6 +5,7 @@ Puppet::Type.type(:package).provide :openbsd do commands :pkginfo => "pkg_info", :pkgadd => "pkg_add", :pkgdelete => "pkg_delete" defaultfor :operatingsystem => :openbsd + confine :operatingsystem => :openbsd def self.list packages = [] @@ -51,7 +52,7 @@ Puppet::Type.type(:package).provide :openbsd do end def self.listcmd - "#{command(:info)} -a" + [command(:info), "-a"] end def install |