Since it appeared to be impossible to get recent puppet with augeas
and stored configs running on Hardy (8.04), I tried to install it on
Jaunty. Unfortunately my attempt failed on stored configs.
I followed the following path
On Server:
1. Install vanilla Jaunty system from mini-cd, only with SSH server
2. wget
http://ftp.pl.debian.org/debian/pool/main/f/facter/facter_1.5.6-2_all.deb
3. dpkg -i facter_1.5.6-2_all.deb
4. wget
http://ftp.pl.debian.org/debian/pool/main/p/puppet/puppet_0.25.1-2_all.deb
5. dpkg -i puppet_0.25.1-2_all.deb
6. wget
http://ftp.pl.debian.org/debian/pool/main/p/puppet/puppetmaster_0.25.1-2_all.deb
7. dpkg -i puppetmaster_0.25.1-2_all.deb
8. apt-get -f install
9. apt-get install rubygems libmocha-ruby librspec-ruby libsqlite3-
ruby sqlite3
10. gem install ZenTest
11. edit the /etc/puppet/puppet.conf to turn on stored configs,
_exactly_ as on
http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
On Client:
Followed almost the same steps as in server except for installing
puppetmaster, and packages libsqlite3-ruby sqlite3 and editing /etc/
puppet/puppet.conf
Then of course I edited the /etc/hosts so both computers could see
each other using fqdn, then killed deamon processes, manually
exchanged certificates and run on server «puppetmasterd --no-daemonize
--verbose»
and «puppetd --server
puppet.domain.com --test» on client
Then I got the following output
On server:
-----------------------------------------------------------
notice: Starting Puppet server version 0.25.1
info: access[^/catalog/([^/]+)$]: allowing 'method' find
info: access[^/catalog/([^/]+)$]: allowing $1 access
info: access[/certificate_revocation_list/ca]: allowing 'method' find
info: access[/certificate_revocation_list/ca]: allowing * access
info: access[/report]: allowing 'method' save
info: access[/report]: allowing * access
info: access[/file]: allowing * access
info: access[/certificate/ca]: adding authentication no
info: access[/certificate/ca]: allowing 'method' find
info: access[/certificate/ca]: allowing * access
info: access[/certificate/]: adding authentication no
info: access[/certificate/]: allowing 'method' find
info: access[/certificate/]: allowing * access
info: access[/certificate_request]: adding authentication no
info: access[/certificate_request]: allowing 'method' find
info: access[/certificate_request]: allowing 'method' save
info: access[/certificate_request]: allowing * access
info: access[/]: adding authentication any
info: Could not find filesystem info for file 'plugins' in environment
production
DEPRECATION WARNING: Please update config/database.yml to use
'database' instead of 'dbfile'. (called from parse_sqlite_config! at /
var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/sqlite_adapter.rb:35)
err: Cached catalog for
puppetclient.domain.com failed: could not open
database: unable to open database file
DEPRECATION WARNING: Please update config/database.yml to use
'database' instead of 'dbfile'. (called from parse_sqlite_config! at /
var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/sqlite_adapter.rb:35)
err: could not open database: unable to open database file
and on Client:
------------------------------
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)
puppet://
puppet.domain.com/plugins
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: could not open database: unable to open database file
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
Can anyone help me?
Thank you in advance.