Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mod::prefork dependencies #188

Merged
merged 1 commit into from
May 15, 2013
Merged

Fix mod::prefork dependencies #188

merged 1 commit into from
May 15, 2013

Conversation

nanliu
Copy link
Contributor

@nanliu nanliu commented May 3, 2013

A dependency on the package resolves the following error:
"Error: /Stage[main]/Apache::Mod::Prefork/File_line[/etc/sysconfig/httpd
prefork enable]: Could not evaluate: No such file or directory -
/etc/sysconfig/httpd"

A dependency on the package resolves the following error:
"Error: /Stage[main]/Apache::Mod::Prefork/File_line[/etc/sysconfig/httpd
prefork enable]: Could not evaluate: No such file or directory -
/etc/sysconfig/httpd"
@agt-the-walker
Copy link

Hello,
I can reproduce the above error with the following configuration on Arch Linux (x86_64):

$ VBoxHeadless --version | tail -1; vagrant --version; librarian-puppet version
4.2.12_OSEr84980
Vagrant version 1.2.2
librarian-puppet v0.9.9


$ egrep -v '^( *#|$)' Vagrantfile 
Vagrant.configure("2") do |config|
  config.vm.box = "centos59-64"
  config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-59-x64-vbox4210.box"
  config.vm.provision :puppet do |puppet|
    puppet.manifests_path = "manifests"
    puppet.module_path = "modules"
  end
end


$ cat manifests/default.pp 
class { 'apache': }


$ cat Puppetfile
forge "http://forge.puppetlabs.com"

mod 'apache',
  :git => 'git://github.com/puppetlabs/puppetlabs-apache.git'


$ librarian-puppet install; cat Puppetfile.lock
FORGE
  remote: http://forge.puppetlabs.com
  specs:
    puppetlabs/firewall (0.3.0)
    puppetlabs/stdlib (3.2.0)
    ripienaar/concat (0.2.0)

GIT
  remote: git://github.com/puppetlabs/puppetlabs-apache.git
  ref: master
  sha: 3a7f0b90b3dfadcd64dee14d1f437391021dbd38
  specs:
    apache (0.6.0)
      puppetlabs/firewall (>= 0.0.4)
      puppetlabs/stdlib (>= 2.2.1)
      ripienaar/concat (>= 0.2.0)

DEPENDENCIES
  apache (>= 0)


$ vagrant up
[...]
Running Puppet with default.pp...
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Warning: Scope(Class[Apache]): Class['apache'] parameter purge_vdir is deprecated in favor of purge_configs
Notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat]/ensure: created
Notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin]/ensure: created
Notice: /Stage[main]/Concat::Setup/File[/var/lib/puppet/concat/bin/concatfragments.sh]/ensure: defined content as '{md5}256169ee61115a6b717b2844d2ea3128'
Error: /Stage[main]/Apache::Mod::Prefork/File_line[/etc/sysconfig/httpd prefork enable]: Could not evaluate: No such file or directory - /etc/sysconfig/httpd
[...]

More details upon request. Thanks for your time.

hunner added a commit that referenced this pull request May 15, 2013
Fix mod::prefork dependencies
@hunner hunner merged commit 5d8bee2 into puppetlabs:master May 15, 2013
traylenator pushed a commit to traylenator/puppetlabs-apache that referenced this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants