Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README describes libreswan::conn params incorrectly #4

Open
westbywest opened this issue Apr 30, 2018 · 0 comments
Open

README describes libreswan::conn params incorrectly #4

westbywest opened this issue Apr 30, 2018 · 0 comments

Comments

@westbywest
Copy link

westbywest commented Apr 30, 2018

For this usage in a class declaring libreswan module to work:

$conns = hiera('libreswan::conns')
create_resources('libreswan::conn', $conns)

I'd need to define the conn parameters in YAML like this, in contradiction to the README.

libreswan::conns:
  snt:
    options:
      left: 10.11.11.1
      leftsubnet: 10.0.1.0/24
      leftnexthop: 172.16.55.66
      leftsourceip: 10.0.1.1
      right: 192.168.22.1
      rightsubnet: 10.0.2.0/24
      rightnexthop: 172.16.88.99
      rightsourceip: 10.0.2.1
      keyingtries: %forever

Also, the README is a bit misleading in that the class libreswan::init doesn't actually have params named 'conns' or 'secrets.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant