freifunk-berlin / puppet

Deprecated: New infrastructure development is happening in https://github.com/freifunk-berlin/ansible
Other
2 stars 4 forks source link

puppet: couldn't find class php-fpm for node monitor #49

Closed ghost closed 4 years ago

ghost commented 8 years ago

Bin der readme gefolgt, ich vermute irgendein typisches Dependencyproblem, und die hat ja normalerweise schon mal irgendwer gesehen und vergessen aufzuschreiben :)

$ vagrant up
==> monitor: Mounting shared folders...
    monitor: /vagrant => /home/user/freifunk/puppet/puppet
    monitor: /tmp/vagrant-puppet/modules-6088f7e1c7d848ff4b2520c25b0f7ac1 => /home/user/freifunk/puppet/puppet/modules
    monitor: /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513 => /home/user/freifunk/puppet/puppet/manifests
==> monitor: Running provisioner: shell...
    monitor: Running: /tmp/vagrant-shell20160829-25979-y46354.sh
==> monitor: stdin: is not a tty
==> monitor: Generating a 4096 bit RSA private key
[...]
==> monitor: writing new private key to '/etc/ssl/private/monitor.berlin.freifunk.net.key'
==> monitor: -----
==> monitor: Signature ok
==> monitor: subject=
==> monitor: /C=DE/ST=Berlin/O=Freifunk Berlin/L=Berlin/CN=monitor.berlin.freifunk.net/OU=Freifunk Berlin/emailAddress=noc@berlin.freifunk.net
==> monitor: Getting Private key
==> monitor: Running provisioner: puppet...
==> monitor: Running Puppet with site.pp...
==> monitor: stdin: is not a tty
==> monitor: Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
==> monitor: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class php-fpm at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/site.pp:127 on node monitor.berlin.freifunk.net
==> monitor: Wrapped exception:
==> monitor: Could not find declared class php-fpm
==> monitor: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class php-fpm at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/site.pp:127 on node monitor.berlin.freifunk.net
booo commented 8 years ago

Can you post the content of the modules directory? Did you install the dependencies?

ghost commented 8 years ago

Yes modules/fpm/manifests/init.pp exists and defines class php-fpm {...}.

ghost commented 8 years ago

librarian-puppet v2.2.1, vagrant v1.8.1, virtualbox 5.0.24

ghost commented 8 years ago

It's not blocking me so there's no need to get into the dependency rabbit hole right now, just wanted to have it documented

pmelange commented 4 years ago

The latest version of https://github.com/freifunk-berlin/php_fpm.git seems to be working. Closing