Hello All:

I started getting failed resources from augeas and I'm hoping someone can 
help.

The errors:

Warning: Augeas[php_ini-php-error_reporting](provider=augeas): Loading 
failed for one or more files, see debug for /augeas//error output
Error: 
/Stage[main]/Oit_php::Augeas/Php::Augeas[php-error_reporting]/Augeas[php_ini-php-error_reporting]:
 
Could not evaluate: Saving failed, see debug
Warning: Augeas[php_ini-php-session_save_handler](provider=augeas): Loading 
failed for one or more files, see debug for /augeas//error output
Error: 
/Stage[main]/Oit_php::Augeas/Php::Augeas[php-session_save_handler]/Augeas[php_ini-php-session_save_handler]:
 
Could not evaluate: Saving failed, see debug
Warning: Augeas[php_ini-php-session_save_path](provider=augeas): Loading 
failed for one or more files, see debug for /augeas//error output
Error: 
/Stage[main]/Oit_php::Augeas/Php::Augeas[php-session_save_path]/Augeas[php_ini-php-session_save_path]:
 
Could not evaluate: Saving failed, see debug
Warning: Augeas[php_ini-php-date_timezone](provider=augeas): Loading failed 
for one or more files, see debug for /augeas//error output
Error: 
/Stage[main]/Oit_php::Augeas/Php::Augeas[php-date_timezone]/Augeas[php_ini-php-date_timezone]:
 
Could not evaluate: Saving failed, see debug

>From Hiera data we call a class that performs a create resource on 
php::augeas which is from example42/php module

The Hiera data:

oit_php::augeas::entries:
  'php-error_reporting':
    entry: 'PHP/error_reporting'
    value: 'E_ALL & ~E_STRICT & ~E_NOTICE'
    target: '/etc/php.ini'
  'php-session_save_handler':
    entry: 'Session/session.save_handler'
    value: 'memcache'
    target: '/etc/php.ini'
  'php-session_save_path':
    entry: 'Session/session.save_path'
    value: 'tcp://172.31.158.151:11211, tcp://172.28.246.163:11211'
    target: '/etc/php.ini'
  'php-date_timezone':
    entry: 'Date/date.timezone'
    value: 'America/New_York'
    target: '/etc/php.ini'


The Class:

class oit_php::augeas (
  $entries = {},
) {
  create_resources('php::augeas', $entries)
}


Can anyone help?

Thanks
Joey

-- 
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/7718c807-83a2-4b3d-864a-3bad7818d729%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to