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

Some updates to be able to create multiple mirror services with specific configurations #258

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

idrissneumann
Copy link
Contributor

@idrissneumann idrissneumann commented May 30, 2018

Pull Request (PR) description

We'd like to be able to easily create multiple mirror services from hieradata like that:

$mirrors.each |$title, $mirror| {
      kafka::mirror { $title:
        consumer_config          => $mirror['consumer_config'],
        ........
      }
}

And we'd like to be able to easily notify all mirror services like that:

java_ks { "......:truststore":
   ensure       => latest,
   certificate  => "${properties_dir}/.....pem",
   target       => "${properties_dir}/.....jks",
   password     => "........",
   path         => ["${jdk_path}/jre/bin", "/bin", "/usr/bin"],
   trustcacerts => true
} ~> Kafka::Mirror <| |>

And we'd like to be able to change the path of /etc/systemd/system.

This Pull Request (PR) fixes the following issues

@idrissneumann idrissneumann changed the title Adding kafka::mirror::rmirror to be able to create multiple mirror Some modifications to be able to create multiple mirror services with specific configurations May 31, 2018
@idrissneumann idrissneumann changed the title Some modifications to be able to create multiple mirror services with specific configurations Some updates to be able to create multiple mirror services with specific configurations May 31, 2018
@bastelfreak bastelfreak added enhancement New feature or request needs-work not ready to merge just yet labels Jun 24, 2018
@bastelfreak
Copy link
Member

Hi @idrissneumann, thanks for the work. Please don't delete the tests, they need to be restored and restructured so they work with the defined resources.

@idrissneumann
Copy link
Contributor Author

idrissneumann commented Jul 10, 2018

@bastelfreak Thanks for reviewing. I'm not used to use rspec, so I don't know too much how to convert a class spec to a defined resource spec (we're using real puppet agents and server with docker in our own CI and a pre-compilation step using octocatalog). Anyway, I'll take some time to learn that and to rewrite those specs one day ^^

@vox-pupuli-tasks
Copy link

Dear @idrissneumann, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@vox-pupuli-tasks
Copy link

Dear @idrissneumann, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@TheMeier
Copy link
Contributor

Looks abandoned to me, I would close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request merge-conflicts needs-work not ready to merge just yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants