I tried the following in 2.7.11-1ubuntu2.3. And got the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not match $(pecl at /etc/puppet/modules/php5/manifests/init.pp:90 on node xxxx.
Any idea how I can run commands?
On client,
puppet agent --test
On master
exec { "pecl_memcache" :
provider => shell,
command => "if [ -n "$(pecl install memcache | egrep fail )" ]; then echo y | pecl install memcache-3.0.8; fi",
logoutput => true,
}