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

    Slackbot

    06/15/2023, 7:19 PM
    This message was deleted.
    c
    • 2
    • 1
  • p

    pyros_xx

    06/15/2023, 7:22 PM
    Hello everybody ! I am new here and I am wondering how to run acceptance testing over an specific node instead of running acceptance testing over modules. In example, I am creating system users in a linux machine using the Accounts Puppetlabs module and I set the module configuration to create users and groups via hiera and it works perfect. How can I run the acceptance tests to check that this node has created the users I expect ?
  • p

    pyros_xx

    06/15/2023, 7:24 PM
    Thanks puppet masters πŸ˜‰
  • c

    csharpsteen

    06/15/2023, 7:25 PM
    Depends on which acceptance testing tool is in use. For serverspec, that'd be a test against a user resource: https://serverspec.org/resource_types.html#user
  • p

    pyros_xx

    06/15/2023, 7:32 PM
    Thankyou @csharpsteen , about the tests place, as I am using a component from puppetlabs, which path should I use to place this kind of tests?, I am using a copy of puppet-control porject and I have implemented roles and profiles
  • p

    pyros_xx

    06/15/2023, 7:34 PM
    I am running the module acceptance testing with
    bundle exec rspec
    and unit tests with pdk
  • p

    pyros_xx

    06/15/2023, 7:34 PM
    I'm not sure if this is the proper way but things is going well by the moment πŸ™‚
  • c

    csharpsteen

    06/15/2023, 7:36 PM
    spec/acceptance
    is a common location, but again will depend on which acceptance testing tool is in use. Acceptance tests are often run with a different command than unit tests as they are a much, much, much different animal. Beaker and Litmus are two common acceptance test runners.
  • s

    Slackbot

    06/15/2023, 7:37 PM
    This message was deleted.
    c
    p
    • 3
    • 3
  • s

    Slackbot

    06/15/2023, 7:41 PM
    This message was deleted.
    c
    • 2
    • 1
  • b

    bastelfreak

    06/15/2023, 7:43 PM
    beaker \o/
  • p

    pyros_xx

    06/15/2023, 7:53 PM
    πŸ‘
  • s

    Slackbot

    06/15/2023, 8:09 PM
    This message was deleted.
    r
    l
    +5
    • 8
    • 9
  • d

    Dr Bunsen Honeydew

    06/15/2023, 8:45 PM
    indeed πŸ§‘β€πŸ«PE Console is about to start up in #CFD8Z9A4T
  • s

    Slackbot

    06/16/2023, 12:02 PM
    This message was deleted.
    t
    l
    e
    • 4
    • 8
  • s

    Slackbot

    06/16/2023, 12:48 PM
    This message was deleted.
    b
    c
    • 3
    • 39
  • c

    CVQuesty

    06/16/2023, 1:06 PM
    It’s a pretty dope community around here. Welcome
  • c

    cdenneen

    06/16/2023, 1:26 PM
    Just tried to run install.sh against Amazon Linux 2023 and for some reason it's thinking it's EL6 but in fact it should be a flavor of FC 34, 35, 36 and CentOS 9 Streams
  • y

    Yorokobi

    06/16/2023, 1:27 PM
    EL6 might be a fallback since Amazon Linux is Frankenstein's monster.
    lol 1
  • b

    bastelfreak

    06/16/2023, 1:30 PM
    "FC 34, 35, 36 and CentOS 9" what a abomination πŸ˜„
  • b

    bastelfreak

    06/16/2023, 1:30 PM
    @cdenneen install.sh from which PE version?
  • c

    cdenneen

    06/16/2023, 1:30 PM
    🫒
  • c

    cdenneen

    06/16/2023, 1:31 PM
    sadly previous LTS... I need to upgrade
  • b

    bastelfreak

    06/16/2023, 1:32 PM
    now is amazon linux 2 the same as amazon linux 2023
  • y

    Yorokobi

    06/16/2023, 1:32 PM
    Nope. 2023 is the successor.
  • b

    bastelfreak

    06/16/2023, 1:32 PM
    that's not supported
  • b

    bastelfreak

    06/16/2023, 1:32 PM
    https://www.puppet.com/docs/pe/2019.8/supported_operating_systems.html#supported_operating_systems_and_devices-supported-agent-platforms
  • c

    cdenneen

    06/16/2023, 1:33 PM
    @bastelfreak SSSSHHHHH
  • s

    Slackbot

    06/16/2023, 1:35 PM
    This message was deleted.
    r
    • 2
    • 1
  • c

    cdenneen

    06/16/2023, 1:35 PM
    it's the successor to EL7 ... i'm not moving to Stream
1...378379380...428Latest