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

    vchepkov

    05/04/2022, 5:52 PM
    Copy code
    mod 'puppetlabs/augeas_core', '1.2.0'
    mod 'puppetlabs/cron_core', '1.1.0'
    mod 'puppetlabs/host_core', '1.1.0'
    mod 'puppetlabs/mailalias_core', '1.1.0'
    mod 'puppetlabs/mount_core', '1.1.0'
    mod 'puppetlabs/selinux_core', '1.2.0'
    mod 'puppetlabs/sshkeys_core', '2.3.0'
    mod 'puppetlabs/yumrepo_core', '1.1.0'
  • d

    Dr Bunsen Honeydew

    05/04/2022, 5:52 PM
    See the
    puppetlabs-augeas_core
    module at https://forge.puppet.com/puppetlabs/augeas_core?src=slack&channel=puppet
  • v

    vchepkov

    05/04/2022, 5:52 PM
    that's mine set
  • g

    Greg Bristol

    05/04/2022, 5:54 PM
    Copy code
    mod 'puppetlabs-augeas_core', '1.0.0'
    mod 'puppetlabs-cron_core', '1.0.5'
    mod 'puppetlabs-host_core', '1.0.0'
    mod 'puppetlabs-mailalias_core', '1.0.5'
    mod 'puppetlabs-mount_core', '1.0.1'
    mod 'puppetlabs-sshkeys_core', '1.0.0'
    mod 'puppetlabs-yumrepo_core', '1.0.7'
    mod 'puppetlabs-zfs_core', '1.2.0'
  • d

    Dr Bunsen Honeydew

    05/04/2022, 5:54 PM
    See the
    puppetlabs-augeas_core
    module at https://forge.puppet.com/puppetlabs/augeas_core?src=slack&channel=puppet
  • r

    raphink

    05/04/2022, 5:56 PM
    Oh my, I still have an alert on
    augeas
    , my Slack is pinging me 🙂
    😁 2
  • h

    hbui

    05/04/2022, 5:58 PM
    The weird facter issue was actually an old 6.19 client that I assumed was 6.26.
    😎 1
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:15 PM
    Hey guys I'm trying install mysql with puppet
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:15 PM
    but I got this error every time
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:15 PM
    Error: Execution of '/usr/sbin/mysqld --basedir=/usr --datadir=/platform/mysql --user=mysql --log-error=/var/log/mysql/error.log --initialize-insecure' returned 1: mysqld: Can't create directory '/platform/mysql/' (Errcode: 17 - File exists)
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:15 PM
    and the folder is just created by puppet
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:28 PM
    and all databases are be created in /var/lib/mysql not in the folder that I put the datadir
  • b

    bastelfreak

    05/04/2022, 6:30 PM
    does mysld want to create /platform/mysql by itself
  • b

    bastelfreak

    05/04/2022, 6:30 PM
    this doesnt look FHS-compliant, is that desired?
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:31 PM
    is not desired
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:31 PM
    mysqld just need use the folder not need create
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:34 PM
    Is there way to make mysqld not create just use it ?
  • b

    bastelfreak

    05/04/2022, 6:35 PM
    I don't know, I am a postgres dude :D
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:36 PM
    but thanks you clarify something to me haha
  • l

    Lumiere

    05/04/2022, 6:44 PM
    are you using the mysql module for this?
  • l

    Lumiere

    05/04/2022, 6:44 PM
    (I am also at a postgres shop
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:47 PM
    Yes @Lumiere i'm using mysql module
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:47 PM
    trying use it for install the mysql server.
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:47 PM
    trying use it for install the mysql server.
  • l

    Lumiere

    05/04/2022, 6:49 PM
    yea, I don't see anything in upstream for /platform/mysql. can you provide the class call/hiera you're using? (remove secrets)
  • a

    Arthur Nunes Catarina

    05/04/2022, 6:54 PM
    yes sure
  • e

    elfchief

    05/04/2022, 10:05 PM
    Hmm. Is there any way to get puppet (in debug output or wherever) to tell you where exactly a virtual resource is being realized?
  • l

    Les Shiner

    05/04/2022, 10:11 PM
    Open Source Puppet. Would like to autosign the compiler that i've set up. In Open Source the autosign.conf isn't there so I created it in /etc/puppetlabs/puppet/ added the FQDN of the compiler. Went into puppet.conf and added autosign=/etc/puppetlabs/puppet/autosign.conf. I restarted the puppetserver service and ran puppet agent -t on compiler. Still asking me to sign the cert on the master
  • l

    Les Shiner

    05/04/2022, 10:12 PM
    I've also attempted to add a [master] portion to the puppet.conf and throw in autosign=true, still no dice
  • v

    vchepkov

    05/04/2022, 10:17 PM
    It's best to use puppet to manage puppet 🙂
1...181920...428Latest