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

    kn

    06/08/2023, 7:21 PM
    hi, i just updated a 0.1.1 update to https://forge.puppet.com/modules/kn/doas where i can manually download this version, but
    mod 'kn-doas', '0.1.1'
    in Puppetfile followed by
    librarian-puppet update
    keeps failing with
    Copy code
    [Librarian]   Failed to resolve kn-doas (= 0.1.1) <<https://forgeapi.puppetlabs.com>> (from Puppetfile)
  • k

    kn

    06/08/2023, 7:22 PM
    does it take time for the api to catch up or is there something wrong i'm not seeing? the forge website shows 0.1.1 and the downloaded tarball has 0.1.1 in its metadata.json, so I don't understand why librarian fails to fetch/resolve it
  • c

    CVQuesty

    06/08/2023, 7:25 PM
    Every time someone says they're using Librarian, I'm shocked.
  • c

    CVQuesty

    06/08/2023, 7:25 PM
    I've been using Librarian's replacement for getting close to 10 years now
  • b

    bastelfreak

    06/08/2023, 7:27 PM
    hey librarian-puppet is still maintained šŸ˜›
  • k

    kn

    06/08/2023, 7:42 PM
    puppet module install kn-doas
    fetches 0.1.1 as expected, so librarian seems off.
  • d

    Dr Bunsen Honeydew

    06/08/2023, 7:42 PM
    See the
    kn-doas
    module at https://forge.puppet.com/kn/doas?src=slack&amp;channel=puppet
  • k

    kn

    06/08/2023, 7:44 PM
    guess i'll try r10k as a librarian replacement
  • s

    Slackbot

    06/08/2023, 10:37 PM
    This message was deleted.
    r
    c
    +2
    • 5
    • 5
  • d

    Dr Bunsen Honeydew

    06/08/2023, 10:37 PM
    ```- lost a level. (Karma: -111)
  • s

    Slackbot

    06/09/2023, 3:58 PM
    This message was deleted.
    p
    t
    • 3
    • 7
  • d

    David

    06/09/2023, 4:03 PM
    @fqdn is only the legacy fact fqdn I think
  • v

    vchepkov

    06/09/2023, 5:40 PM
    https://www.puppet.com/docs/puppet/8/release_notes_puppet.html#enhancements_puppet_x-8-0-0-PUP-11430
  • s

    Slackbot

    06/09/2023, 8:47 PM
    This message was deleted.
    u
    b
    y
    • 4
    • 51
  • p

    Patrick Rynhart

    06/12/2023, 4:08 AM
    In my main init.pp manifest I have:
    Copy code
    file { '/opt/dspace/assetstore':
          ensure => 'directory',
          owner  => 'tomcat',
          group  => 'tomcat',
        }
    And in the hiera for an NFS mount I have:
    Copy code
    storage:
        '/opt/dspace/assetstore':
          ensure: 'mounted'
          device: 'tur-nas1:/vol/unix_storage1_t1a/qds-research/assetstore'
          fstype: 'nfs'
          options: 'nfsvers=3'
          atboot: true
          require: File['/opt/dspace/assetstore']
    I’m calling create_resources(ā€˜mount’, $storage) but end up with:
    Copy code
    Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find resource 'File['/opt/dspace/assetstore']' in parameter 'require' on node tur-ds-dev4
  • p

    Patrick Rynhart

    06/12/2023, 4:09 AM
    If I remove the require in Hiera then things proceed, but I end up with an ordering issue (i.e. Directory might not exist prior to the mount being attempted)
  • s

    Slackbot

    06/12/2023, 4:11 AM
    This message was deleted.
    s
    c
    l
    • 4
    • 3
  • s

    Slackbot

    06/12/2023, 8:10 AM
    This message was deleted.
    r
    b
    c
    • 4
    • 3
  • d

    Dr Bunsen Honeydew

    06/12/2023, 8:10 AM
    See the
    puppetlabs-mysql
    module at https://forge.puppet.com/puppetlabs/mysql?src=slack&amp;channel=puppet
  • s

    Slackbot

    06/12/2023, 11:01 AM
    This message was deleted.
    a
    b
    y
    • 4
    • 11
  • a

    Anders

    06/12/2023, 11:07 AM
    Hi. Is it possible to set the default/fallback environment for puppetserver if an agent connects to the Puppet master with a non-existing environment? By default it is of course 'production' but is it possible to configure it somehow?
  • v

    vchepkov

    06/12/2023, 1:12 PM
    You would have to write your own ENC
  • v

    vchepkov

    06/12/2023, 1:12 PM
    not as complicated as it sounds
  • s

    Slackbot

    06/12/2023, 1:40 PM
    This message was deleted.
    l
    a
    c
    • 4
    • 7
  • v

    vchepkov

    06/12/2023, 2:32 PM
    not necessarily, you can just supply environment
  • s

    Slackbot

    06/12/2023, 2:49 PM
    This message was deleted.
    h
    • 2
    • 2
  • v

    vchepkov

    06/12/2023, 2:50 PM
    You have many facts ĀÆ\_(惄)_/ĀÆ
    šŸ˜‚ 1
  • n

    nate

    06/12/2023, 2:52 PM
    sadness…
  • n

    nate

    06/12/2023, 2:52 PM
    or, a richness. one should aspire to such a fact-filled life.
  • l

    Lumiere

    06/12/2023, 2:53 PM
    until you drown in factiness
1...374375376...428Latest