Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save CalvinHartwell/d3c8bcdc7110fb26c8fb1a9b8a0317d0 to your computer and use it in GitHub Desktop.

Select an option

Save CalvinHartwell/d3c8bcdc7110fb26c8fb1a9b8a0317d0 to your computer and use it in GitHub Desktop.
puppet error
Error: Could not set 'present' on ensure: cannot generate tempfile `/etc/centrifyda/user.audit.always20160413-32689-j2sa5n-9' at 22:/puppet/repo-sat6-puppet/directaudit/manifests/init.pp
Error: Could not set 'present' on ensure: cannot generate tempfile `/etc/centrifyda/user.audit.always20160413-32689-j2sa5n-9' at 22:/puppet/repo-sat6-puppet/directaudit/manifests/init.pp
Wrapped exception:
cannot generate tempfile `/etc/centrifyda/user.audit.always20160413-32689-j2sa5n-9'
Error: /Stage[main]/Directaudit/File[/etc/centrifyda/user.audit.always]/ensure: change from absent to present failed: Could not set 'present' on ensure: cannot generate tempfile `/etc/centrifyda/user.audit.always20160413-32689-j2sa5n-9' at 22:/puppet/repo-sat6-puppet/directaudit/manifests/init.pp
@CalvinHartwell

Copy link
Copy Markdown
Author

Create user.audit.always, user.audit.ifpossible, user.audit.never

    file {"/etc/centrifyda/user.audit.always":
            ensure => present,
            replace => 'no',
            content => "# File is managed by Puppet.",
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment