Please see https://tickets.puppetlabs.com/browse/MODULES-2206: the existing implementation for concat does not work properly with noop mode, and unfortunately cannot work without violating the principle of noop mode (no changes made on the system). There was some discussion about this, and the issues in the pull request here <https://github.com/puppetlabs/puppetlabs-concat/pull/177>
On Mon, Jul 13, 2015 at 3:22 PM Charlie-Jane Costello < cjcostell...@gmail.com> wrote: > Yeah, I'm getting the same error as you Joe. I'm also using the Apache > module on a Centos7 machine. > Puppet version 3.7.4. I did however try initially with 3.8.1, but thought > that this may have been a version issue, and therefore downgraded. > > On Thursday, June 4, 2015 at 2:55:01 PM UTC+1, Joe Koenig wrote: >> >> I've got a puppet agent (3.8) on CentOS 7 that I'm trying to configure >> using the puppetlabs-apache module. I'm getting the following on the first >> run: >> >> *Error: /Stage[main]/Main/Node[web-agent-..xxxxxxx.com >> <http://xxxxxxx.com>]/Apache::Vhost[example.com >> <http://example.com>]/Concat[25-example.com.conf]/Exec[concat_25-example.com.conf]: >> Could not evaluate: Could not find command >> '/var/lib/puppet/concat/bin/concatfragments.rb'* >> >> Here's what my site.pp looks like: >> >> node /^web-agent-(.*)\.bds-puppet\.com$/ { >> >> class { 'yum': >> >> extrarepo => ['epel', 'puppetlabs', 'remi_php55', 'remi'] >> >> } >> >> file { ["/data", "/data/web", "/data/web/vhosts", >> "/data/web/vhosts/example.com"]: ensure => "directory" } >> >> file { ["/data/logs", "/data/logs/apache"]: ensure => "directory" >> } >> >> class { 'apache': >> >> package_ensure => '2.4.6-31.el7.centos', >> >> server_signature => 'Off', >> >> default_vhost => false, >> >> default_mods => false, >> >> mpm_module => false >> >> } >> >> class { 'apache::mod::prefork': >> >> startservers => '8', >> >> minspareservers => '3', >> >> maxspareservers => '5', >> >> serverlimit => '1024', >> >> maxclients => '1024', >> >> maxrequestsperchild => '4000' >> >> } >> >> apache::vhost { 'www.example.com': >> >> port => '80', >> >> serveraliases => ['example.com','*.example.com'], >> >> docroot => '/data/web/vhosts/example.com', >> >> access_log_file => 'example.com_access_log', >> >> error_log_file => 'example.com_error_log', >> >> logroot => '/data/logs/apache', >> >> override => 'All', >> >> directoryindex => 'index.php index.html', >> >> add_default_charset => 'UTF-8', >> >> options => ['-Indexes'] >> >> } >> >> class { 'apache::mod::cache': } >> >> class { 'apache::mod::deflate': } >> >> class { 'apache::mod::dir': } >> >> class { 'apache::mod::mime': } >> >> class { 'apache::mod::mime_magic': } >> >> class { 'apache::mod::proxy': } >> >> class { 'apache::mod::rewrite': } >> >> class { 'apache::mod::ssl': } >> >> class { 'apache::mod::status': } >> >> class { 'apache::mod::vhost_alias': } >> >> class { '::apache::mod::php': >> >> package_name => "php-5.5.25-1.el7.remi", >> >> } >> >> package { >> ["php-mcrypt","php-mysqlnd","php-gd","php-ldap","php-soap","php-mbstring","php-opcache","libcurl-devel"]: >> >> ensure => "installed", >> >> require => Class['apache'] >> >> } >> >> package { "openldap-devel": ensure => "installed" } >> >> package { ["openssl","openssl-devel"]: ensure => "latest" } >> >> package { "wkhtmltopdf": ensure => "0.12.1-1.el7" } >> >> } >> >> Any pointers on what may be causing this would be greatly appreciated. >> Thanks! >> >> Joe >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/vB4hJddgHDM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/b3e20dd3-5f2d-4946-8753-d18cb60ea149%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/b3e20dd3-5f2d-4946-8753-d18cb60ea149%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALTA55FuUa7Q-owf8YzUUMaA15Cd3f%2BrD%2B0bt_qvzAuSk0oiEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.