Package org.apache.provisionr.core.activities

Examples of org.apache.provisionr.core.activities.InstallPackages


    public void testCreatePuppetScript() throws Exception {
        Pool pool = mock(Pool.class);
        when(pool.getSoftware()).thenReturn(Software.builder()
            .packages("git-core", "vim").createSoftware());

        PuppetActivity activity = new InstallPackages();
        String content = activity.createPuppetScript(pool, null);

        assertThat(content).contains(
            "Package { ensure => \"installed\" }\n" +
                "\n" +
                "package { \"git-core\": }\n" +
View Full Code Here

TOP

Related Classes of org.apache.provisionr.core.activities.InstallPackages

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.