lib/ohai/plugins/aix/hostname.rb in ohai-6.18.0 vs lib/ohai/plugins/aix/hostname.rb in ohai-6.20.0.rc.1
- old
+ new
@@ -14,6 +14,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require_plugin "sigar::hostname"
+provides "hostname"
+
+hostname from("hostname")