adding linux support to configure_puppet method