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

    vchepkov

    07/23/2022, 6:06 PM
    Then I take sysconfig back 🙂
  • e

    elliot

    07/23/2022, 6:07 PM
    Copy code
    puppet-agent[35118]: Starting Puppet client version 7.17.0
    puppet-agent[35119]: Applied catalog in 5.73 seconds
  • e

    elliot

    07/23/2022, 6:07 PM
    ok, that's weird but seems to have been it. adding log_level didn't seem to add any extra output
  • e

    elliot

    07/23/2022, 6:10 PM
    I'll take it. thanks
    😈 1
  • s

    STOUFILER

    07/23/2022, 7:49 PM
    Hi all ! I'm trying to install puppetserver on new fresh Debian 11 server I've followed the doc but when I launch :
    systemctl start puppetserver
    I got this following error :
    Job for puppetserver.service failed because the control process exited with error code.
    Copy code
    juil. 23 21:47:55 master puppetserver[9509]: WARNING: An illegal reflective access operation has occurred
    juil. 23 21:47:55 master puppetserver[9509]: WARNING: Illegal reflective access by dynapath.defaults$fn__15895$fn__15896 (file:/opt/puppetlabs/server/apps>
    juil. 23 21:47:55 master puppetserver[9509]: WARNING: Please consider reporting this to the maintainers of dynapath.defaults$fn__15895$fn__15896
    juil. 23 21:47:55 master puppetserver[9509]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    juil. 23 21:47:55 master puppetserver[9509]: WARNING: All illegal access operations will be denied in a future release
    I've installed the openjdk-11 Does this bug is known ? I don't find any response on Google 😕
  • s

    STOUFILER

    07/23/2022, 7:58 PM
    message has been deleted
  • j

    James Byles

    07/25/2022, 11:34 AM
    hey everybody. Is there anywhere particular I should go to regarding puppetlabs-mysql? Specifically, while trying to get mysql 8 installed on AlmaLinux 8, I think I see a problem in params.pp … If major version is 7, it ain’t gonna be 8 too? 🤨 alright, i’m learning slowly… returns 1 if a > b. Sorry!
  • d

    Dr Bunsen Honeydew

    07/25/2022, 11:34 AM
    See the
    puppetlabs-mysql
    module at https://forge.puppet.com/puppetlabs/mysql?src=slack&channel=puppet
  • j

    James Byles

    07/25/2022, 11:39 AM
    hey everybody. Is there anywhere particular I should go to regarding puppetlabs-mysql? Specifically, while trying to get mysql 8 installed on AlmaLinux 8, I think I see a problem in params.pp … If major version is 7, it ain’t gonna be 8 too? 🤨
    Copy code
    /^(RedHat|Rocky|CentOS|Scientific|OracleLinux|AlmaLinux)$/: {
              if versioncmp($::operatingsystemmajrelease, '7') >= 0 {
                $provider = 'mariadb'
                if versioncmp($::operatingsystemmajrelease, '8') >= 0 {
                  $xtrabackup_package_name = 'percona-xtrabackup-24'
                }
  • j

    James Byles

    07/25/2022, 11:43 AM
    hey everybody. Is there anywhere particular I should go to regarding puppetlabs-mysql? Specifically, while trying to get mysql 8 installed on AlmaLinux 8, I think I see a problem in params.pp … If major version is 7, it ain’t gonna be 8 too? 🤨 alright, i’m learning slowly… returns 1 if a > b. Sorry!
  • e

    elliot

    07/25/2022, 12:13 PM
    i think my pupptserver can no longer talk to my puppetdb:
    Could not find terminus puppetdb for indirection facts
    but i don't think i did anything to break it... and i have some exported resources.
  • m

    Marty Ewings

    07/25/2022, 12:15 PM
    Hi Folks Just a quick reminder the Support Knowledge Base Is open to all users without requirement for registration https://support.puppet.com/hc/en-us
  • s

    Slackbot

    07/25/2022, 1:31 PM
    This message was deleted.
    t
    j
    • 3
    • 4
  • d

    Dr Bunsen Honeydew

    07/25/2022, 1:31 PM
    See the
    puppetlabs-mysql
    module at https://forge.puppet.com/puppetlabs/mysql?src=slack&channel=puppet
  • j

    James Byles

    07/25/2022, 1:32 PM
    why can’t i make puppetlabs-mysql install and start mysql8 on almalinux 8 😞 mysql 8 is the default package installed with
    dnf install mysql-server
  • j

    James Byles

    07/25/2022, 1:34 PM
    why can’t i make puppetlabs-mysql install and start mysql8 on almalinux 8 😞 mysql 8 is the default package installed with
    dnf install mysql-server
    , but it wants to install mariadb instead (which does work). Don’t suppose anybody would have a sample conf for this? ❤️
  • j

    James Byles

    07/25/2022, 1:59 PM
    hey @tuxmea thanks very much for your response! Yeh, I’ve tried all I can think of. I have tried package_name to both mysql and mysql-server, and some other params where I see in the params.pp some mariadb specific ones. It just seems that it really wants to be mariadb and some other params somewhere are maybe defaulting to mariadb related stuff! I just can’t wrap me head around it! (I say this based on nothing much more than
    dnf install mysql-server
    installs and works 🙂) thanks 🙂
  • j

    James Byles

    07/25/2022, 2:02 PM
    hey @tuxmea thanks very much for your response! Yeh, I’ve tried all I can think of. I have tried package_name to both mysql and mysql-server, and some other params where I see in the params.pp some mariadb specific ones. It just seems that it really wants to be mariadb and some other params somewhere are maybe defaulting to mariadb related stuff! I just can’t wrap me head around it! (I say this based on nothing much more than
    dnf install mysql-server
    installs and works 🙂) thanks 🙂 ps.. tbf i can’t seem to see any references to mysql 8 in the module anyway 😐
  • j

    James Byles

    07/25/2022, 2:30 PM
    hey @tuxmea thanks very much for your response! Yeh, I’ve tried all I can think of. I have tried package_name to both mysql and mysql-server, and some other params where I see in the params.pp some mariadb specific ones.
  • s

    Slackbot

    07/25/2022, 2:57 PM
    This message was deleted.
    j
    v
    • 3
    • 3
  • v

    vchepkov

    07/25/2022, 2:57 PM
    Copy code
    Jul 25 10:52:17 example puppet-agent[81199]: (/Stage[main]/Corp::Common::Issue/Concat[/etc/issue]/Concat_file[/etc/issue]) Failed to generate additional resources using 'eval_generate': Could not retrieve source(s) puppet:///modules/corp/issue
    Jul 25 10:52:17 example puppet-agent[81199]: (/Stage[main]/Corp::Common::Issue/Concat[/etc/issue.net]/Concat_file[/etc/issue.net]) Failed to generate additional resources using 'eval_generate': Could not retrieve source(s) puppet:///modules/corp/issue
  • s

    Slackbot

    07/25/2022, 3:10 PM
    This message was deleted.
    l
    b
    • 3
    • 5
  • s

    Slackbot

    07/25/2022, 8:04 PM
    This message was deleted.
    b
    j
    • 3
    • 60
  • j

    Joel Wilson

    07/25/2022, 8:04 PM
    Anybody really savvy on the query strings in puppetdb api endpoint? I need to get a list of all my Debian 11 hosts.
  • s

    Slackbot

    07/25/2022, 8:09 PM
    This message was deleted.
    b
    h
    +2
    • 5
    • 8
  • b

    Brian Schonecker

    07/25/2022, 8:09 PM
    Can anyone recommend/provide a link for noob friendly rspec testing on Puppet? I've been trying for days now using https://puppet.com/blog/unit-testing-rspec-puppet-for-beginners/, https://rspec-puppet.com/tutorial/ and https://github.com/voxpupuli/rspec-puppet-facts but I'm just not learning anything. I think the online stuff assumes that the reader is versed in Ruby (I am not). I haven't found anything explaining concepts such as, "is expected to" and "should contain_class" or where I can find a list of these parameters/concepts/whatever. I'm trying to set up spec testing on a linux virtual machine because I'm too cheap to pay for Travis CI on github. I'm a linux admin, not a developer and I don't have anyone in my circle of peers that has any experience either. I'm making a fool of myself when trying to contribute the simplest of changes to projects that I use in my Puppet environment. Any help would be most appreciated. I'm a visual learner so any videos would be even better.
  • y

    Yury Bushmelev

    07/26/2022, 2:02 AM
    I'd say https://github.com/voxpupuli/puppet-chrony/blob/master/spec/classes/chrony_spec.rb plus https://rspec-puppet.com
  • s

    spin

    07/26/2022, 4:35 PM
    could someone set me straight on this.. puppet 6.. if $var...else... if $var is defined in Hiera as null, it should fail and then run the else block? because thats not happening and i could swear it used to evaluate that way
  • y

    Yorokobi

    07/26/2022, 4:37 PM
    How are you setting it to null in Hiera?
    var: ~
    ?
  • s

    spin

    07/26/2022, 4:37 PM
    var: null
1...105106107...428Latest