https://www.puppet.com/community logo
Join Slack
Powered by
# puppet
  • h

    helindbe

    09/14/2022, 9:44 PM
    That is what is used inside puppet to evaluate ERB.
  • n

    natemccurdy

    09/14/2022, 9:44 PM
    ahhh, got it.
  • h

    helindbe

    09/14/2022, 9:45 PM
    Looks like a broken puppet install, or everyone would suffer.
  • h

    helindbe

    09/14/2022, 9:48 PM
    Does other templates work? (Looks like this happens before .erb is parsed though - when puppet is setting up for that).
  • t

    Tom Hilburn

    09/14/2022, 9:49 PM
    Well, I did a full reinstall apt autoremove puppet-agent --purge and deleted a few folders and any box that run an upgrade is now getting this error. Any box that upgrades is getting this error now.
  • t

    Tom Hilburn

    09/14/2022, 9:49 PM
    I can't get any erb file to pass. I keep getting the same error
  • h

    helindbe

    09/14/2022, 9:49 PM
    The error is on the server.
  • n

    natemccurdy

    09/14/2022, 9:50 PM
    ERB templates are compiled on the Puppetserver, not on the agents. This is a problem with the installation on your Puppetserver.
  • t

    Tom Hilburn

    09/14/2022, 9:50 PM
    Oh that error isn't an issue on the node?
  • t

    Tom Hilburn

    09/14/2022, 9:50 PM
    OH
  • t

    Tom Hilburn

    09/14/2022, 9:50 PM
    ok I'll look at the server
  • a

    Andy Fry

    09/14/2022, 10:08 PM
    message has been deleted
  • a

    Andy Fry

    09/14/2022, 10:08 PM
    @tvaughan Do you know of another module which uses a remote KDC? If not, is there a way to get the puppet server to execute "something" when a new node connects?
  • a

    Andy Fry

    09/14/2022, 10:26 PM
    May have to set up a remote kdc in my lab and give it a go. It's not entirely clear if the auto generation of keys relies on the kdc being the puppet master 🙄
  • j

    josh

    09/15/2022, 1:42 AM
    @Tom Hilburn the server compliation failed because the compiler is using an older version of code than what was updated in the puppet-agent package. Make sure to restart puppetserver after updating its local puppet-agent package.
  • a

    Andy Fry

    09/15/2022, 2:28 AM
    @tvaughan Looks like https://forge.puppet.com/modules/collectivemedia/krb5keytab will do the trick, but it's a bit old. I'll take a look and update you if I get anywhere. The other issue is creating a computer account in AD from the master...
  • s

    Slackbot

    09/15/2022, 12:15 PM
    This message was deleted.
    t
    u
    • 3
    • 13
  • s

    Slackbot

    09/15/2022, 2:51 PM
    This message was deleted.
    n
    g
    • 3
    • 2
  • d

    Dr Bunsen Honeydew

    09/15/2022, 2:51 PM
    See the
    herculesteam-augeasproviders_apache
    module at https://forge.puppet.com/herculesteam/augeasproviders_apache?src=slack&channel=puppet
  • g

    goeldi

    09/15/2022, 2:53 PM
    Can anybody see what's wrong with this manifest (Puppet version 6.28.0, module herculesteam-augeasproviders_apache and _core is installed)?
    apache_directive { "SetEnv":
    ensure      => present,
    args        => ["SSLProtocol", "-All +TLSv1.2 +TLSv1.3"],
    args_params => 1,
    target      => '/etc/apache2/mods-enabled/ssl.conf',
    }
    When I apply this, I get
    Error: /Stage[main]/Main/Apache_directive[SetEnv]: Could not evaluate: Failed to save Augeas tree to file. See debug logs for details.
    I also tried variants (apache_setenv, value instead of args etc.) BTW: the puppetlabs-apache module is not possible in this environment.
  • h

    hbui

    09/15/2022, 3:22 PM
    sounds like a permissions issue, any selinux or acls in play? what does the debug log say?
  • h

    hbui

    09/15/2022, 3:22 PM
    or AppArmor
  • d

    David Sandilands

    09/15/2022, 4:24 PM
    lsattr on the file to make sure there are no extended attributes on the file like i to make it immutable
  • d

    davidpinaz

    09/15/2022, 4:52 PM
    Using puppet v5 or higher, what are the pros/cons/gotchas of using an active/active puppet CA setup?
  • b

    bastelfreak

    09/15/2022, 5:01 PM
    how would you build an active active CA?
  • d

    davidpinaz

    09/15/2022, 5:02 PM
    Have 2 CA instances running behind a loadbalancer
  • b

    bastelfreak

    09/15/2022, 5:03 PM
    it is a bit tricky to ensure voth CAs dont overwrite their files
  • b

    bastelfreak

    09/15/2022, 5:03 PM
    usually people run active/passive
  • d

    davidpinaz

    09/15/2022, 5:04 PM
    I seem to recall years ago something about cert serial numbers being an issue, but I wasn’t sure if that was still a thing
  • b

    bastelfreak

    09/15/2022, 5:04 PM
    so you have a requirement for active/active?
1...163164165...428Latest